----------------------------------------------------------------------------------------------------- func: teleplayer-- auth: Demolish-- desc: Teleports a player to a pos/zone of your choice---------------------------------------------------------------------------------------------------cmdprops ={	permission = 1,	parameters = "siiii"};function onTrigger(player,target,x,y,z,zone)	local pc = GetPlayerByName(target);	if (pc == nil) then		player:PrintToPlayer( string.format( "Invalid player '%s' given.", target ) );		return;	end			if(zone == nil) then		pc:setPos(x,y,z,0);	else		pc:setPos(x,y,z,0,zone);	end	end;